home *** CD-ROM | disk | FTP | other *** search
/ Super PC 34 / Super PC 34 (Shareware).iso / spc / UTIL / DJGPP2 / V2 / DJLSR200.ZIP / src / libc / posix / unistd / execvp.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-10-09  |  276 b   |  12 lines

  1. /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
  2. #include <libc/stubs.h>
  3. #include <unistd.h>
  4. #include <process.h>
  5.  
  6. extern char *const *environ;
  7.  
  8. int execvp(const char *path, char * const argv[])
  9. {
  10.   return spawnvpe(P_OVERLAY, path, argv, environ);
  11. }
  12.